package com.wangtao.firstapp.modles;

import java.util.List;

/**
 * 轮播图二级页面实体类
 * Created by lanouhn on 16/9/16.
 */
public class CustomMapTwoData {


    /**
     * status : 1
     * msg : 成功
     * ts : 1474029661
     * data : {"topic":[{"id":"8239","type":"","type_id":"","title":"书封不好看，文艺都装不下去","subtitle":"","pic":"http://bt.img.17gwx.com/topic/0/82/elNdbQ/800x440","is_show_like":true,"is_recommend":true,"create_time_str":"08月04日","islike":false,"likes":"8524","views":"","comments":"23","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1,"attention_type":0},"pics":[]},{"id":"8040","type":"","type_id":"","title":"皮囊升级专栏｜女生必读的10本书","subtitle":"","pic":"http://bt.img.17gwx.com/topic/0/80/elFaZA/800x440","is_show_like":true,"is_recommend":true,"create_time_str":"08月02日","islike":false,"likes":"15472","views":"","comments":"41","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1,"attention_type":0},"pics":[]},{"id":"7287","type":"","type_id":"","title":"10本不按套路来的推理小说，让你紧张到窒息","subtitle":"","pic":"http://bt.img.17gwx.com/topic/0/72/dVNWYw/800x440","is_show_like":true,"is_recommend":true,"create_time_str":"07月26日","islike":false,"likes":"13122","views":"","comments":"100","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1,"attention_type":0},"pics":[]},{"id":"4580","type":"","type_id":"","title":"这些趣味书籍，承包了你一年的脑洞","subtitle":"","pic":"http://bt.img.17gwx.com/topic/0/45/dlRWZA/800x440","is_show_like":true,"is_recommend":true,"create_time_str":"06月20日","islike":false,"likes":"16243","views":"","comments":"18","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1,"attention_type":0},"pics":[]},{"id":"4307","type":"","type_id":"","title":"阅读好书是件很安静的事情","subtitle":"","pic":"http://bt.img.17gwx.com/topic/0/43/dlJeYw/800x440","is_show_like":true,"is_recommend":true,"create_time_str":"06月14日","islike":false,"likes":"19082","views":"","comments":"10","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1,"attention_type":0},"pics":[]},{"id":"2895","type":"","type_id":"","title":"过了爱做梦的年纪，你认真的样子才最帅","subtitle":"","pic":"http://bt.img.17gwx.com/topic/0/28/cFlXYQ/800x440","is_show_like":true,"is_recommend":true,"create_time_str":"05月05日","islike":false,"likes":"8307","views":"","comments":"","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1,"attention_type":0},"pics":[]},{"id":"3256","type":"","type_id":"","title":"看了就停不下来的推理小说","subtitle":"","pic":"http://bt.img.17gwx.com/topic/0/32/cVNbYg/800x440","is_show_like":true,"is_recommend":true,"create_time_str":"05月18日","islike":false,"likes":"27781","views":"","comments":"46","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1,"attention_type":0},"pics":[]},{"id":"2643","type":"","type_id":"","title":"适合十二星座的枕边书","subtitle":"","pic":"http://bt.img.17gwx.com/topic/0/26/cFdaZw/800x440","is_show_like":true,"is_recommend":true,"create_time_str":"04月18日","islike":false,"likes":"18039","views":"","comments":"1","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1,"attention_type":0},"pics":[]},{"id":"2685","type":"","type_id":"","title":"旅行是一种病，而我们全部无药可救","subtitle":"","pic":"http://bt.img.17gwx.com/topic/0/26/cFdWYQ/800x440","is_show_like":true,"is_recommend":true,"create_time_str":"04月22日","islike":false,"likes":"13860","views":"","comments":"2","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1,"attention_type":0},"pics":[]},{"id":"2575","type":"","type_id":"","title":"读书才是这个无聊世界最正经的事","subtitle":"","pic":"http://bt.img.17gwx.com/topic/0/25/cFRZYQ/800x440","is_show_like":true,"is_recommend":true,"create_time_str":"04月08日","islike":false,"likes":"20218","views":"","comments":"","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1,"attention_type":0},"pics":[]}]}
     */

    private String status;
    private String msg;
    private int ts;
    private DataBean data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTs() {
        return ts;
    }

    public void setTs(int ts) {
        this.ts = ts;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 8239
         * type :
         * type_id :
         * title : 书封不好看，文艺都装不下去
         * subtitle :
         * pic : http://bt.img.17gwx.com/topic/0/82/elNdbQ/800x440
         * is_show_like : true
         * is_recommend : true
         * create_time_str : 08月04日
         * islike : false
         * likes : 8524
         * views :
         * comments : 23
         * user : {"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1,"attention_type":0}
         * pics : []
         */

        private List<TopicBean> topic;

        public List<TopicBean> getTopic() {
            return topic;
        }

        public void setTopic(List<TopicBean> topic) {
            this.topic = topic;
        }

        public static class TopicBean {
            private String id;
            private String type;
            private String type_id;
            private String title;
            private String subtitle;
            private String pic;
            private boolean is_show_like;
            private boolean is_recommend;
            private String create_time_str;
            private boolean islike;
            private String likes;
            private String views;
            private String comments;
            /**
             * user_id : 1
             * nickname : 小糖君
             * avatar : http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2
             * is_official : 1
             * attention_type : 0
             */

            private UserBean user;
            private List<?> pics;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getType_id() {
                return type_id;
            }

            public void setType_id(String type_id) {
                this.type_id = type_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSubtitle() {
                return subtitle;
            }

            public void setSubtitle(String subtitle) {
                this.subtitle = subtitle;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public boolean isIs_show_like() {
                return is_show_like;
            }

            public void setIs_show_like(boolean is_show_like) {
                this.is_show_like = is_show_like;
            }

            public boolean isIs_recommend() {
                return is_recommend;
            }

            public void setIs_recommend(boolean is_recommend) {
                this.is_recommend = is_recommend;
            }

            public String getCreate_time_str() {
                return create_time_str;
            }

            public void setCreate_time_str(String create_time_str) {
                this.create_time_str = create_time_str;
            }

            public boolean isIslike() {
                return islike;
            }

            public void setIslike(boolean islike) {
                this.islike = islike;
            }

            public String getLikes() {
                return likes;
            }

            public void setLikes(String likes) {
                this.likes = likes;
            }

            public String getViews() {
                return views;
            }

            public void setViews(String views) {
                this.views = views;
            }

            public String getComments() {
                return comments;
            }

            public void setComments(String comments) {
                this.comments = comments;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public List<?> getPics() {
                return pics;
            }

            public void setPics(List<?> pics) {
                this.pics = pics;
            }

            public static class UserBean {
                private String user_id;
                private String nickname;
                private String avatar;
                private int is_official;
                private int attention_type;

                public String getUser_id() {
                    return user_id;
                }

                public void setUser_id(String user_id) {
                    this.user_id = user_id;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public int getIs_official() {
                    return is_official;
                }

                public void setIs_official(int is_official) {
                    this.is_official = is_official;
                }

                public int getAttention_type() {
                    return attention_type;
                }

                public void setAttention_type(int attention_type) {
                    this.attention_type = attention_type;
                }
            }
        }
    }
}
